<template>
  <div>
    <el-tabs v-model="activeName">
      <el-tab-pane label="年利润表" name="year"><Year /></el-tab-pane>
      <el-tab-pane label="月利润表" name="month"> <Month /> </el-tab-pane>
      <el-tab-pane label="单车利润表" name="car"> <Car /> </el-tab-pane>
      <el-tab-pane label="订单利润表" name="order"> <Order /> </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import Year from "./year";
import Month from "./month";
import Car from "./car";
import Order from "./order";

export default {
  name: "ProfitList",
  components: { Year, Month, Car, Order },
  data() {
    return {
      activeName: "year",
    };
  },
};
</script>

<style scoped>
</style>